package com.zoer.test;

import junit.framework.TestCase;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.zoer.hibdao.DiseaseDAO;

public class Main extends TestCase {
	ApplicationContext ac = new ClassPathXmlApplicationContext(new String[] {
			"applicationContext.xml",
			"com/zoer/presentation/csasc/applicationContext_drug.xml" });

	public void testTTT() {
		DiseaseDAO dao = (DiseaseDAO) ac.getBean("diseaseDao");
		dao.changeDrugCodeByDrugName();
	}
}